home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1993 / MacHack 1993.toast / MacHack™ 1987-1992 / MacHack™ '90 / Other Stuff / Demos ƒ / TOPS SoftTalk Package / MiniMacApp Headers / CWriteLnWindow.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-09-06  |  1.6 KB  |  61 lines  |  [TEXT/MPS ]

  1. /*
  2. ------------------------------------------------------------------------------
  3. |    Sun Microsystems, TOPS Division
  4. |    950 Marina Village Parkway
  5. |    P.O. Box 4016
  6. |    Alameda, CA 94501
  7. |    
  8. |    Copyright (c) 1989 Sun Microsystems, Inc. All rights reserved.
  9. |    
  10. |    Sun considers its source code as an unpublished, proprietary trade secret,
  11. |    and it is available only under strict license provisions. This copyright
  12. |    notice is placed here only to protect Sun in the event the source is deemed
  13. |    a published work. Disassembly, decompilation, or other means of reducing the
  14. |    object code to human readable form is prohibited by the license agreement
  15. |    under which this code is provided to the user or company in possession of
  16. |    this copy.
  17. |    
  18. |    RESTRICTED RIGHTS LEGEND: Use, duplication, or disclosure by the Government
  19. |    is subject to restrictions as set forth in subparagraph (c) (1) (ii) of the
  20. |    Rights in Technical Data and Computer Software clause at DFARS 52.227-7013
  21. |    and in similar clauses in the FAR and NASA FAR supplement.
  22. ------------------------------------------------------------------------------
  23. */
  24.  
  25.  
  26.  
  27. /*
  28.  
  29.     INTERFACE CWriteLnWindow
  30.     
  31. */
  32.  
  33. #ifndef __CWriteLnWindow__
  34. #define __CWriteLnWindow__
  35.  
  36.  
  37. #include "CWindow.h"
  38.  
  39.  
  40. struct CWriteLnWindow:CWindow {
  41.     Boolean fInformBeforeDraw;
  42.     INT16 fDeltaV;
  43.     INT16 fNumLines;
  44.     INT16 fCurrentLine;
  45.     Str255* fTextArray;
  46.  
  47.     void IWriteLnWindow (Str255 title,
  48.                                                 INT16 numLines,
  49.                                                 INT16 windowWidth,
  50.                                                 Point upperCorner);
  51.     void ClearWindow(void);
  52.     void ClearContents(void);
  53.     void WriteLn(Str255 theText);
  54.     void NewLine(void);
  55.     void Scroll(void);
  56.     void SetTextStyle(void);
  57.     void DrawContents(void);
  58. };
  59.  
  60.  
  61. #endif